﻿<%@ Page Title="" Language="C#" MasterPageFile="~/MasterPage.master" AutoEventWireup="true" CodeFile="MyExams.aspx.cs" Inherits="MyExams" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <p>
        List of Exams with Courses the Professor is teaching
    </p>
    <p>
        <asp:Label ID="Label1" runat="server" ForeColor="Red"></asp:Label>
        &nbsp;</p>
    <p>
        <asp:GridView ID="gridMyExams" runat="server" DataKeyNames="courseID" OnSelectedIndexChanged="selectRow">
            <Columns>
                <asp:CommandField SelectText="Show Details" ShowSelectButton="True" />
            </Columns>
        </asp:GridView>
    </p>
    <p>
        <asp:DetailsView ID="detailsMyExams" runat="server" Height="50px" Width="492px" OnItemCommand="detailsMyExams_ItemCommand" >
            <Fields>
                <asp:CommandField ShowSelectButton="True" />
            </Fields>
        </asp:DetailsView>
    </p>
</asp:Content>

